package com.ztgf.pay.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.ztgf.common.dto.BaseDTO;

/**
 * 退款订单DTO
 *
 * @author mxli
 * @Date 2020-07-30 12:13:30
 */
@Data
@TableName("pay_order_repay")
@ApiModel(value="退款订单对象", description="退款订单对象")
public class PayOrderRepayDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision = 0;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "原支付订单id")
    private Long originalOrderId;
    @ApiModelProperty(value = "售后订单id或者id")
    private Long businessOrderId;
    @ApiModelProperty(value = "退款金额")
    private BigDecimal money;
    @ApiModelProperty(value = "退款手续费")
    private BigDecimal feeMoney;
    @ApiModelProperty(value = "状态 0创建中，1退款中、2退款成功、3退款失败")
    private Integer status;
    @ApiModelProperty(value = "类型 0余额、1网银")
    private Integer type;
    @ApiModelProperty(value = "中金流水号")
    private String zjBusinessId;
    @ApiModelProperty(value = "中金失败原因")
    private String zjFailMsg;
    @ApiModelProperty(value = "回调地址")
    private String notifyUrl;
    @ApiModelProperty(value = "回调状态：0未回调，1已回调")
    private Integer notifyStatus;
    @ApiModelProperty(value = "过期时间")
    private Date expiredTime;
}